


import React , {Component} from "react"

import {Icon} from "antd";
import src1 from "../../assets/images/logo.png"

export default class Head extends Component{
    render(){
        // const {title,show} = this.props;
        const show=true;
        return (
           <div className="head">
                <header>
                    <div style={{display:show?"block":'none'}} >
                       <img src= {src1}/>
                    </div>
                </header>
           </div>
        )
    }
}

Head.propTypes = {
    show:React.PropTypes.bool
}